<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Insert title here</title>
        <script type="text/javascript">
        </script>
    </head>
    <body>
    	<form action="" name="myForm">
    		<input type="text" name="myText" onchange="document.myForm.changeText.value=document.myForm.myText.value;"/>OnChange
			<input type="text" name="changeText"/>
			<br>
			<input type="text" name="myText2" onkeyup="document.myForm.changeText2.value=document.myForm.myText2.value;"/>OnKeyup
			<input type="text" name="changeText2"/>
    	</form>
    </body>
</html>
